package bb.lanxing.lib.kt.model;

import com.tencent.open.SocialConstants;
//import com.umeng.umcrash.UMCrash;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

public final class CrossTrainerData implements ICrossTrainerData {
    private int crossTrainer;
    private long timestamp;
    private int source = 2;
    private String deviceAddress = "";

    public static /* synthetic */ CrossTrainerData copy$default(CrossTrainerData crossTrainerData, long j, int i, Object obj) {
        if ((i & 1) != 0) {
            j = crossTrainerData.timestamp;
        }
        return crossTrainerData.copy(j);
    }

    public final long component1() {
        return this.timestamp;
    }

    public final CrossTrainerData copy(long j) {
        return new CrossTrainerData(j);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof CrossTrainerData) && this.timestamp == ((CrossTrainerData) obj).timestamp;
    }

    private static int dataParser(long j) {
        return (int) (j ^ (j >>> 32));
    }

    public int hashCode() {
        return dataParser(this.timestamp);
    }

    public String toString() {
        return "CrossTrainerData(timestamp=" + this.timestamp + ')';
    }

    public CrossTrainerData(long j) {
        this.timestamp = j;
    }

    public final long getTimestamp() {
        return this.timestamp;
    }

    public final void setTimestamp(long j) {
        this.timestamp = j;
    }

    public final int getCrossTrainer() {
        return this.crossTrainer;
    }

    public final void setCrossTrainer(int i) {
        this.crossTrainer = i;
    }

    public final int getSource() {
        return this.source;
    }

    public final void setSource(int i) {
        this.source = i;
    }

    public final String getDeviceAddress() {
        return this.deviceAddress;
    }

    public final void setDeviceAddress(String str) {
        Intrinsics.checkNotNullParameter(str, "<set-?>");
        this.deviceAddress = str;
    }

    //@Override
   // double getAltitude(){
   //     return 0;
   // }
}
